<?php
/*echo '<pre>';
print_r($_SESSION);
*/
$contract = displayLoanContract($_SESSION['app_id']);

$sql = "SELECT BSB, AccountNo FROM crm_loancontract  WHERE app_id = ".$_SESSION['app_id'];
$sql .= " order by LoanContractID DESC LIMIT 1";
$result =	mysql_query($sql);
		//echo $sql; exit; 
$row = mysql_fetch_assoc($result);
?>
             <img src="images/money-get.gif" /> 
            <h2><i class="fa fa-arrow-circle-right"></i>Your Dashboard</h2>  
            <div class="well emp-detail span12">
           
                  <p>We're just about to send $<?php if(isset($contract['LoanAmount'])) echo $contract['LoanAmount'];?> to the following bank account:</p><br />
                <p><strong>BSB: <?php echo $row['BSB']; ?></strong> 
                <p><strong>Account Number: <?php echo $row['AccountNo']; ?></strong>
                <p>You should have access to your funds within 60 minutes of the transfer - but it can take up to 2 hours, depending on who you bank with.</p>
                <p>If you bank with Commonwealth Bank - you should have access to your money within minutes.</p>
                <p>Look out for email and SMS to confirm your transfer has been successful.</p>

                   
                 </div>             
 
            </div>
       
